Cognitoware.Robotics.dll
Interface GaussianActionModel<U, X>
U: The action type.
X: The x type.
Implemented Interfaces
Summary
An action model that uses a Gaussian distribution as the next x prediction.
Method Summary
ConditionBy(U, X)
Inherited from Cognitoware.Robotics.StateEstimation.ActionModel
Creates an covariance matrix that describes the Gaussian error around the final x mean.
Creates the expected x resulting from performing an action at another x.
Details
The Gaussian action model supplies methods to get the mean and variance of the next x prediction.
Using these functions, a GaussianMoment object can be created to implement ActionModel.ConditionBy.
Method Details
public virtual Matrix GetError(U action, X state)
Creates an covariance matrix that describes the Gaussian error around the final x mean.
The error can be a function of the action and starting x or it can be a constant value.
The action may contain a time period over which it is performed.
The error would probably grow with the time period.
Some actions may have more error than other actions.
The error may also be oriented along the direction of motion
This function should be used to calcualte the covariance of the GaussianMoment returned by ActionModel.ConditionBy.
Parameters:
action
- The action being performed.
x
- The x where the action is performed.
Returns:
A covariance matix that describes the error of the mean.
public virtual X GetMean(U action, X state)
Returns the expected x resulting from performing an action at another x.
This function should be used to calcualte the mean of the GaussianMoment returned by ActionModel.ConditionBy.
Parameters:
action
- The action performed at the start x.
x
- The start x.